Nalwrite: removed EMULATION_SIZE macro and calculate the emulationSize from Encoded bitstream size

--HG--
branch : stable
extra : source : 356d91e22b250d786ec0560cf5adf6377a202ab9