I think the formation of biofilm may be greatly connected with the component in the cell wall, the peptidoglycan. As we know, peptidoglycan has a higher proportion in the cell wall of positive bacteria, so the answer may be the positive one?
It's not a question of Gram staining, but a question of presence/absence of a capsule. Acetobacter for example, forms biofilms, but is Gram - while Streptococcus is Gram+ but doesn't form biofilms.
The nature of the matrix molecule of the biofilm being mainly polysaccharides (cellulose, chitine) it is not completely related to peptidoglycan. It involves other metabolic pathways.
Another point is in forming biofilms or not, is the development mode of these bacteria. If bacteria form strong filaments they are more likely to form a biofilm than those forming weak tetrades.