mongodb: -f synonym for --config in mongod wrapper

mongodb also ignores spaces at the beginning but not at the end
of a command line argument: ' --config' and '--config' are
equivalent, but '--config ' is an invalid option.

Closes #19509.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>