Fix off -by-one logic error
Include Tomcat JDBC preferentially if using starter-poms

When user deploys app as a WAR in Tomcat, unless the tomcat-jdbc.jar
is in the app package, it will be found in the parent first and then
be unable to load the Driver class.

[Fixes #56720610] [bs-316] Tomcat non-embedded cannot load SQL driver class