Strip off trailing zero bytes when in LPC mode.