create_loc_conf must return NULL on error

This is same issue as: https://github.com/openresty/echo-nginx-module/pull/35