Fix patched versions in redis-namespace advisory

Use ~> operator for patched versions less than 1.3.1

Right now, if you're using v1.2.1 it would consider that you're in a patched version because 1.2.1 >= 1.1.1. This is an issue because the patched version in 1.2 is v1.2.2