configure: Remove unintentional nested functions

More of the same as 9362a1b2d987125a8aa0723b916d29aaaece329a.

https://bugzilla.gnome.org/show_bug.cgi?id=733715