fix byte alignment for PTL also at encoder
Encoder side fix for MR !398 (merged)
also aligns naming of the isByteAligned() function
Encoder side fix for MR !398 (merged)
also aligns naming of the isByteAligned() function
merged
mentioned in commit 31fffded