- Generalized the use of SizeOfInteger and SizeOfPointer methods

- Generalized the use of SizeOfInteger and SizeOfPointer methods instead of repeating erroneous "const" statements everywhere in the code.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>