check that configured cache sizes are >= 1

LRU cache implementation assumes that the cache is at least 1
element large. Catch invalid master configurations where cache
sizes less then 1 are specified.