In https://github.com/go-gitea/gitea/issues/19698 a fuzzer has passed an
empty multipart form which causes go-chi/binding to throw an NPE.
This PR simply protects against this by checking if the multipart form is nil
before trying to map it.
Signed-off-by: Andrew Thornton <art27@cantab.net>