ddr3libv2: fix 64 bit compiler error for parameter validation

	pointer were casted to 32 bit but this is not coorect in
	64 bit compilers.
	new function was created to validate pointers.

Change-Id: I3d6fd83eecda36412e5629936fd36dde6ab211a9
Signed-off-by: hayim <hayim@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/17998
Tested-by: Star_Automation <star@marvell.com>
Reviewed-by: Margarita Granov <margra@marvell.com>
1 file changed