TILER: validate input width and height

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>