Constant-time byte[] comparison