cgi/html: fix CGI for perl 5.20

CGI in Perl 5.20 is now seriouly broken. It doesn't import the functions in the
namespace, even when asked.

Closes: D:762796
Merge branch 'bts/762796-undefined-subroutine-main-header' into stable-2.0
ChangeLog: 2.0.23