mapows.c: Handle Content-Type HTTP headers with a charset appended.

The fix for #4585 in cgiutil.c is also needed in mapows.c to handle Content-Type HTTP headers with a charset appended. This change complements #4651.