proto/generate: fix inclusion of generated files in proto_library targets (#455)

Through code inspection, I identified a bug that results in non-proto files
being included in the srcs of generated proto_library rules, if any generated
proto files were present in that directory.

This change updates the existing protos test case that identifies that bug and
makes the small fix.
3 files changed