Improving assumptions about offset parameter in StrposOptimizer.

Using zephir_get_intval instead of Z_LVAL_P .

Signed-off-by: Rack Lin <racklin@gmail.com>