Fix pointer issue in BMPSteganography::encode()