Comments on planning applications will be hidden from the public following a data breach, Buckinghamshire Council has said.