SEC-2344: Remove check for DefaultParamterNameDiscoverer

Spring Security not requires Spring 4, so there is no need to perform a
check if Spring 4 is present.