move 'type' variable to inside an #if statement
move 'type' variable to inside an #if statement

removes an unused variable when compile without NGX_DEBUG, allows for
building with -Werror.

pagespeed/ngx_pagespeed,pagespeed/ngx_pagespeed